package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;

import java.util.List;

/**
 * 护理项目service接口
 */
public interface NursingProjectService {
    /**
     * 分页查询护理项目
     * @param name
     * @param status
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageResponse<NursingProjectVo> getByPage(String name, Integer status, Integer pageNum, Integer pageSize);

    /**
     * 新增护理项目
     * @param nursingProjectDTO
     */
    void add(NursingProjectDto nursingProjectDTO);

    NursingProjectVo getById(Long id);

    void update(NursingProjectDto nursingProjectDTO);

    List<NursingProject> listAll();

    void updateStatus(Long id,Integer status);

    void deleteById(Long id);
}
